module executor.rpc.Executor;

import executor.rpc.action.ContactAction;
import comm.comm;

string execute(string userId, string route, string content)
{
    
    if (route == "contact.agree")
    {
        return ContactAgree(userId, content);
    }
    
    return RPCResponseErrorEncode(20001, "RPC action not found: " ~ route);
}
